import request from '@/utils/request'
// 查询学生视频详细
export function getS_video(id) {
  return request({
    url: '/course/s_video/getInfo/' + id,
    method: 'get'
  })
}
// 查询学生视频列表
export function listS_video(query) {
  return request({
    url: '/course/s_video/list',
    method: 'get',
    params: query
  })
}
// 获取学生视频名称
export function getN_video(id) {
  return request({
    url: '/course/s_video/getVideoName/' + id,
    method: 'get'
  })
}
export function listAllVideoName(query) {
  return request({
    url: '/course/s_video/listAllName',
    method: 'get',
    params: query
  })
}
const routes = [
  {
    path: 'course/s_video/getInfo/:id',
    name: 'StudentVideo',
    component: () => import('@/views/course/s_video/index') // 动态导入组件
  }
];


